package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.NewsFlash;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * 新闻 Mapper 接口
 * </p>
 *
 * @author Five Team
 * @since 2018-06-04
 */
public interface NewsFlashMapper extends BaseMapper<NewsFlash> {
    boolean addReadCount(Long id);
    boolean addLikeCount(Long id);
    boolean addShareTimes(Long id);
    boolean addCommentTimes(Long id);
    boolean cutReadCount(Long id);
    boolean cutLikeCount(Long id);
    boolean cutShareTimes(Long id);
    boolean cutCommentTimes(Long id);
}
